//
//  ListRequest.h
//  Dvjf_ios
//
//  Created by Ji on 2018/9/6.
//  Copyright © 2018年 ski. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "oOowQqJLCFListDataModeluDifDm.h"
#import "QddEjIJLCFListDetailResultModelNVtUPx.h"
#import "hphaptJLCFMineMoneyLogResultModeldhpqVh.h"
#import "qBSjUSJLCFListWelfareDataModelmtizAG.h"
#import "RpJUgMJLCFListOrderDataModelYevCTI.h"
#import "snBMFMJLCFListPayCompleteDataModelykwCAI.h"
#import "MdckAUJLCFListRecodModelSbWSuQ.h"
#import "qBSjUSJLCFListWelfareDataModelmtizAG.h"
#import "YgMWMCJLCFFuyouInfoModelNQcnsr.h"

@interface XvmSEfJLCFListRequestdkZIyb : NSObject

//列表
+ (void)postListDataWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(oOowQqJLCFListDataModeluDifDm *list))success failure:(void(^)(NSString *error))failure;
+ (void)postListDetailDataWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(QddEjIJLCFListDetailResultModelNVtUPx *listDetail))success failure:(void(^)(NSString *error))failure;
//投资记录
+ (void)listRecordWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(hphaptJLCFMineMoneyLogResultModeldhpqVh *money))success failure:(void(^)(NSString *error))failure;
//红包
+ (void)welfareWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(qBSjUSJLCFListWelfareDataModelmtizAG *welfare))success failure:(void(^)(NSString *error))failure;
//跳转支付页面
+ (void)toBorrowOrderWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(RpJUgMJLCFListOrderDataModelYevCTI *order))success failure:(void(^)(NSString *error))failure;
//支付
+ (void)payCompleteWithParams:(NSDictionary *)params loadingInView:(UIView *)view paySuccess:(void(^)(YgMWMCJLCFFuyouInfoModelNQcnsr *paySuccess))paySuccess payFailure:(void(^)(NSString *payFailure))payFailure failure:(void(^)(NSString *error))failure;
//验证码
+ (void)sendCodeWithParams:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(void))success failure:(void(^)(NSString *error))failure;

//获取标的的成交记录
+ (void)getBorrowRecord:(NSDictionary *)params loadingInView:(UIView *)view success:(void(^)(MdckAUJLCFListRecodModelSbWSuQ *))success failure:(void(^)(NSString *error))failure;
//获取用户红包
+ (void)welfareWith:(NSDictionary *)params loadingInView:(UIView *)view success:(void (^)(qBSjUSJLCFListWelfareDataModelmtizAG *))success failure:(void (^)(NSString *))failure;
//余额支付
+ (void)payRestMoneyWith:(NSDictionary *)params loadingInView:(UIView *)view success:(void (^)(snBMFMJLCFListPayCompleteDataModelykwCAI *))success failure:(void (^)(NSString *))failure;
@end
